const expect=require('chai').expect;
const add=require('./add.js');

describe('collection normal 1',()=>{
    it.only('only',()=>{
        expect(add(1,2)).to.be.equal(3);
    });

    it.only('only 2',()=>{
        expect(add(1,2)).to.be.equal(3);
    });

    it.only('only 3',()=>{
        expect(add(1,2)).to.be.equal(3);
    });

    it('not only',()=>{
        expect(add(1,0)).to.be.equal(1);
    });
});


describe('collection normal 2',()=>{
    it.only('only',()=>{
        expect(add(1,2)).to.be.equal(3);
    });

    it.only('only 2',()=>{
        expect(add(1,2)).to.be.equal(3);
    });

    it.only('only 3',()=>{
        expect(add(1,2)).to.be.equal(3);
    });

    it('not only',()=>{
        expect(add(1,0)).to.be.equal(1);
    });
});


describe.only('collection only',()=>{
    it.only('only',()=>{
        expect(add(1,2)).to.be.equal(3);
    });
    it('not only',()=>{
        expect(add(1,0)).to.be.equal(1);
    });
});
